Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Improved Symfony 6.4 Support#14

Closed
taffy41 wants to merge 2 commits into
EdouardCourty:mainfrom
taffy41:main
Closed

Improved Symfony 6.4 Support#14
taffy41 wants to merge 2 commits into
EdouardCourty:mainfrom
taffy41:main

Conversation

@taffy41

@taffy41 taffy41 commented Jun 24, 2025

Copy link
Copy Markdown

Swap stringNode to scalarNode due to method only being added in Symfony 7.2
Add AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS to ResponseFactory.php to ensure empty arrays return as json objects to satisfy cursor initialise

harri Pritchard added 2 commits June 24, 2025 13:57
Swap stringNode to scalarNode due to method only being added in Symfony 7.2
Add AbstractObjectNormalizer::PRESERVE_EMPTY_OBJECTS to ResponseFactory.php to ensure empty arrays return as json objects to satisfy cursor initialise
class InitializeMethodHandler implements MethodHandlerInterface
{
public const string PROTOCOL_VERSION = '2025-03-26';
public const string PROTOCOL_VERSION = '2024-11-05';

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why change the protocol version?

@EdouardCourty

Copy link
Copy Markdown
Owner

Closed in favor of #16

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants